import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import remUnit from "./js/remUnit";
import VueTouch from "vue-touch";
import "./assets/font/iconfont.css";
import LoadView from './common/loadview'
import echarts from "echarts";
import VConsole from "vconsole";
Vue.use(remUnit);
import Vant from "vant";
import "vant/lib/index.css";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
import api from "./http";
Vue.use(api);
Vue.use(Vant);
Vue.config.productionTip = false;
Vue.prototype.$echarts = echarts;
Vue.prototype.$LoadView = LoadView;
Vue.use(VueTouch, {
  name: "v-touch"
});

import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/css/swiper.css'
Vue.use(VueAwesomeSwiper, /* { default options with global component } */)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
// new VConsole();
